/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * frmDiagnosa.java
 *
 * Created on Jan 24, 2012, 11:13:14 AM
 */
package SIMRS.Radiologi.view;

import usu.widget.Form;

/**
 *
 * @author H@ruM
 */
public class frmRegistrasiPasienRadiologi extends Form {

    /** Creates new form frmDiagnosa */
    public frmRegistrasiPasienRadiologi() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        pnlHead1 = new SIMRS.Radiologi.widget.PnlHead();
        label2 = new SIMRS.Radiologi.widget.Label();
        jLabel1 = new javax.swing.JLabel();
        jTabbedPane1 = new javax.swing.JTabbedPane();
        pnlForm1 = new SIMRS.Radiologi.widget.PnlForm();
        label3 = new SIMRS.Radiologi.widget.Label();
        label1 = new SIMRS.Radiologi.widget.Label();
        label4 = new SIMRS.Radiologi.widget.Label();
        btnSimpanMasuk = new SIMRS.Radiologi.widget.button2();
        btnHapusMasuk = new SIMRS.Radiologi.widget.button2();
        btnKeluarMasuk = new SIMRS.Radiologi.widget.button2();
        scrollPane1 = new SIMRS.Radiologi.widget.ScrollPane();
        tblMasukPasien = new SIMRS.Radiologi.widget.Table();
        btnCariMasukPasien = new SIMRS.Radiologi.widget.button2();
        txtDokterPenanggung = new SIMRS.Radiologi.widget.TextBox();
        label20 = new SIMRS.Radiologi.widget.Label();
        clnMasukPasien2 = new com.toedter.calendar.JDateChooser();
        clnMasukPasien1 = new com.toedter.calendar.JDateChooser();
        pnlForm2 = new SIMRS.Radiologi.widget.PnlForm();
        label5 = new SIMRS.Radiologi.widget.Label();
        label6 = new SIMRS.Radiologi.widget.Label();
        label7 = new SIMRS.Radiologi.widget.Label();
        btnTransaksiPelayanan = new SIMRS.Radiologi.widget.button2();
        btnKeluarPasienRad = new SIMRS.Radiologi.widget.button2();
        scrollPane2 = new SIMRS.Radiologi.widget.ScrollPane();
        tblFormPasienRadiologi = new SIMRS.Radiologi.widget.Table();
        btnCariPasienRad = new SIMRS.Radiologi.widget.button2();
        clnPasienRadiologi2 = new com.toedter.calendar.JDateChooser();
        clnPasienRadiologi1 = new com.toedter.calendar.JDateChooser();
        jInternalFrame1 = new javax.swing.JInternalFrame();

        setTitle("Form Daftar Pasien Radiologi");
        setAnimationShow(usu.widget.constan.Animation.SHOW_FROM_BOTTOM);
        setResizable(false);
        setUndecorated(true);
        addWindowListener(new java.awt.event.WindowAdapter() {
            public void windowClosing(java.awt.event.WindowEvent evt) {
                formWindowClosing(evt);
            }
        });
        getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        pnlHead1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        label2.setForeground(new java.awt.Color(255, 255, 255));
        label2.setText("Form Registrasi Pasien Radiologi");
        label2.setFont(new java.awt.Font("HGPHeiseiKakugothictaiW9", 1, 24));
        pnlHead1.add(label2, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 30, 420, 20));

        jLabel1.setForeground(new java.awt.Color(255, 255, 255));
        jLabel1.setText("Data Pasien Radiologi");
        pnlHead1.add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(340, 60, -1, -1));

        getContentPane().add(pnlHead1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 590, 110));

        pnlForm1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        label3.setText("S/d");
        pnlForm1.add(label3, new org.netbeans.lib.awtextra.AbsoluteConstraints(250, 50, -1, -1));

        label1.setText("Tanggal");
        pnlForm1.add(label1, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 50, -1, -1));

        label4.setText("Periode");
        pnlForm1.add(label4, new org.netbeans.lib.awtextra.AbsoluteConstraints(90, 30, -1, -1));

        btnSimpanMasuk.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/Radiologi/gambar/121.png"))); // NOI18N
        btnSimpanMasuk.setText("Simpan");
        btnSimpanMasuk.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnSimpanMasukActionPerformed(evt);
            }
        });
        pnlForm1.add(btnSimpanMasuk, new org.netbeans.lib.awtextra.AbsoluteConstraints(120, 280, -1, -1));

        btnHapusMasuk.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/Radiologi/gambar/bt_hapus.png"))); // NOI18N
        btnHapusMasuk.setText("Hapus");
        pnlForm1.add(btnHapusMasuk, new org.netbeans.lib.awtextra.AbsoluteConstraints(240, 280, -1, -1));

        btnKeluarMasuk.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/Radiologi/gambar/bt_close.png"))); // NOI18N
        btnKeluarMasuk.setText("Keluar");
        btnKeluarMasuk.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnKeluarMasukActionPerformed(evt);
            }
        });
        pnlForm1.add(btnKeluarMasuk, new org.netbeans.lib.awtextra.AbsoluteConstraints(350, 280, -1, -1));

        tblMasukPasien.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        scrollPane1.setViewportView(tblMasukPasien);

        pnlForm1.add(scrollPane1, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 90, 520, 133));

        btnCariMasukPasien.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/Radiologi/gambar/bt_search.png"))); // NOI18N
        pnlForm1.add(btnCariMasukPasien, new org.netbeans.lib.awtextra.AbsoluteConstraints(450, 40, -1, -1));

        txtDokterPenanggung.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtDokterPenanggungActionPerformed(evt);
            }
        });
        pnlForm1.add(txtDokterPenanggung, new org.netbeans.lib.awtextra.AbsoluteConstraints(250, 240, 180, -1));

        label20.setText("Dokter Penanggung Jawab Radiologi");
        pnlForm1.add(label20, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 240, 210, 20));
        pnlForm1.add(clnMasukPasien2, new org.netbeans.lib.awtextra.AbsoluteConstraints(290, 50, 140, -1));
        pnlForm1.add(clnMasukPasien1, new org.netbeans.lib.awtextra.AbsoluteConstraints(90, 50, 140, -1));

        jTabbedPane1.addTab("Pasien Masuk Radiologi", pnlForm1);

        pnlForm2.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        label5.setText("Periode :");
        pnlForm2.add(label5, new org.netbeans.lib.awtextra.AbsoluteConstraints(120, 30, -1, -1));

        label6.setText("Tanggal");
        pnlForm2.add(label6, new org.netbeans.lib.awtextra.AbsoluteConstraints(60, 50, -1, -1));

        label7.setText("S/d");
        pnlForm2.add(label7, new org.netbeans.lib.awtextra.AbsoluteConstraints(260, 50, -1, -1));

        btnTransaksiPelayanan.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/Radiologi/gambar/Modul.png"))); // NOI18N
        btnTransaksiPelayanan.setText("Transaksi Pelayanan");
        btnTransaksiPelayanan.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnTransaksiPelayananActionPerformed(evt);
            }
        });
        pnlForm2.add(btnTransaksiPelayanan, new org.netbeans.lib.awtextra.AbsoluteConstraints(130, 300, -1, 30));

        btnKeluarPasienRad.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/Radiologi/gambar/bt_close.png"))); // NOI18N
        btnKeluarPasienRad.setText("Keluar");
        btnKeluarPasienRad.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnKeluarPasienRadActionPerformed(evt);
            }
        });
        pnlForm2.add(btnKeluarPasienRad, new org.netbeans.lib.awtextra.AbsoluteConstraints(320, 300, -1, 30));

        tblFormPasienRadiologi.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        scrollPane2.setViewportView(tblFormPasienRadiologi);

        pnlForm2.add(scrollPane2, new org.netbeans.lib.awtextra.AbsoluteConstraints(50, 90, 460, 200));

        btnCariPasienRad.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/Radiologi/gambar/bt_search.png"))); // NOI18N
        btnCariPasienRad.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnCariPasienRadActionPerformed(evt);
            }
        });
        pnlForm2.add(btnCariPasienRad, new org.netbeans.lib.awtextra.AbsoluteConstraints(430, 40, -1, -1));
        pnlForm2.add(clnPasienRadiologi2, new org.netbeans.lib.awtextra.AbsoluteConstraints(300, 50, 120, -1));
        pnlForm2.add(clnPasienRadiologi1, new org.netbeans.lib.awtextra.AbsoluteConstraints(120, 50, 120, -1));

        jTabbedPane1.addTab("Pasien Radiologi", pnlForm2);

        getContentPane().add(jTabbedPane1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 110, 570, 390));

        jInternalFrame1.getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
        getContentPane().add(jInternalFrame1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, -1, -1));

        java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-573)/2, (screenSize.height-503)/2, 573, 503);
    }// </editor-fold>//GEN-END:initComponents

private void formWindowClosing(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_formWindowClosing
System.exit(1);
    // TODO add your handling code here:
}//GEN-LAST:event_formWindowClosing

private void btnKeluarMasukActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnKeluarMasukActionPerformed
// TODO add your handling code here:
       dispose();
}//GEN-LAST:event_btnKeluarMasukActionPerformed

private void txtDokterPenanggungActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtDokterPenanggungActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_txtDokterPenanggungActionPerformed

private void btnSimpanMasukActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnSimpanMasukActionPerformed
frmRegistrasiRadiologi registrasiRadiologi = new frmRegistrasiRadiologi();
        registrasiRadiologi.show();
}//GEN-LAST:event_btnSimpanMasukActionPerformed

private void btnTransaksiPelayananActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnTransaksiPelayananActionPerformed
frmTransaksiPemeriksaanPasienRadiologi transaksiPelayanan = new frmTransaksiPemeriksaanPasienRadiologi();
        transaksiPelayanan.show();// TODO add your handling code here:
}//GEN-LAST:event_btnTransaksiPelayananActionPerformed

private void btnKeluarPasienRadActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnKeluarPasienRadActionPerformed
dispose();
}//GEN-LAST:event_btnKeluarPasienRadActionPerformed

private void btnCariPasienRadActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnCariPasienRadActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_btnCariPasienRadActionPerformed

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private SIMRS.Radiologi.widget.button2 btnCariMasukPasien;
    private SIMRS.Radiologi.widget.button2 btnCariPasienRad;
    private SIMRS.Radiologi.widget.button2 btnHapusMasuk;
    private SIMRS.Radiologi.widget.button2 btnKeluarMasuk;
    private SIMRS.Radiologi.widget.button2 btnKeluarPasienRad;
    private SIMRS.Radiologi.widget.button2 btnSimpanMasuk;
    private SIMRS.Radiologi.widget.button2 btnTransaksiPelayanan;
    private com.toedter.calendar.JDateChooser clnMasukPasien1;
    private com.toedter.calendar.JDateChooser clnMasukPasien2;
    private com.toedter.calendar.JDateChooser clnPasienRadiologi1;
    private com.toedter.calendar.JDateChooser clnPasienRadiologi2;
    private javax.swing.JInternalFrame jInternalFrame1;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JTabbedPane jTabbedPane1;
    private SIMRS.Radiologi.widget.Label label1;
    private SIMRS.Radiologi.widget.Label label2;
    private SIMRS.Radiologi.widget.Label label20;
    private SIMRS.Radiologi.widget.Label label3;
    private SIMRS.Radiologi.widget.Label label4;
    private SIMRS.Radiologi.widget.Label label5;
    private SIMRS.Radiologi.widget.Label label6;
    private SIMRS.Radiologi.widget.Label label7;
    private SIMRS.Radiologi.widget.PnlForm pnlForm1;
    private SIMRS.Radiologi.widget.PnlForm pnlForm2;
    private SIMRS.Radiologi.widget.PnlHead pnlHead1;
    private SIMRS.Radiologi.widget.ScrollPane scrollPane1;
    private SIMRS.Radiologi.widget.ScrollPane scrollPane2;
    private SIMRS.Radiologi.widget.Table tblFormPasienRadiologi;
    private SIMRS.Radiologi.widget.Table tblMasukPasien;
    private SIMRS.Radiologi.widget.TextBox txtDokterPenanggung;
    // End of variables declaration//GEN-END:variables
}
